package com.lyp.jsonbean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lizhihui on 2017/6/9.
 */

public class RenYuanBean implements Serializable {

    /**
     * result : 1
     * message : 已加载全部员工！
     * data : [{"id":"9","user":"zhilan_001","manager":"1"},{"id":"10","user":"zhilan_002","manager":"0"},{"id":"11","user":"zhilan_003","manager":"0"},{"id":"12","user":"zhilan_004","manager":"0"}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "RenYuanBean{" +
                "result=" + result +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean implements Serializable{
        /**
         * id : 9
         * user : zhilan_001
         * manager : 1
         */

        private String id;
        private String user;
        private String manager;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser() {
            return user;
        }

        public void setUser(String user) {
            this.user = user;
        }

        public String getManager() {
            return manager;
        }

        public void setManager(String manager) {
            this.manager = manager;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", user='" + user + '\'' +
                    ", manager='" + manager + '\'' +
                    '}';
        }
    }

}
